<?php
define("APP_PATH", "../app/"); 
header("Content-Type:text/html; charset=utf-8");   
require_once('../initphp/initphp.php'); //导入配置文件-必须载入

$HOSTS = array('holiday.joyomm.com');//正式域名
$host = isset($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:'';

ini_set('date.timezone','Asia/Shanghai');

//测试配置
require_once(APP_PATH . 'conf/holiday.conf.php'); 
	


InitPHP::import ( 'library/helper/BaseDao.php' );
InitPHP::import ( 'library/helper/BaseService.php' );
InitPHP::import ( 'library/helper/BaseController.php' );
InitPHP::import ( 'library/helper/LController.php' );
InitPHP::import ( 'library/helper/HController.php' );

InitPHP::init();